//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package cn.nubia.admin.application.bean;

import cn.nubia.admin.common.utils.DateUtil;
import org.hibernate.validator.constraints.NotEmpty;

public class SoftRecRankVo {
    private static final long serialVersionUID = -8244661101951482489L;
    public static final String COLUMN_STATE = "state";
    public static final int STATE_DEL = -1;
    public static final int STATE_SHOW = 0;
    private Integer id;
    @NotEmpty(message = "{soft.softId.null}")
    private Integer softId;
    @NotEmpty(message = "{softRecRank.startTime.null}")
    private Integer startTime;
    private String startTimeShow;
    private Integer expiredTime;
    private String expiredTimeShow;
    private Integer rankNumber;
    private Integer lastModifyTime;
    private Integer state;
    private String softName;

    public SoftRecRankVo() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSoftId() {
        return this.softId;
    }

    public void setSoftId(Integer softId) {
        this.softId = softId;
    }

    public String getStartTimeShow() {
        return this.startTimeShow;
    }

    public void setStartTimeShow(String startTimeShow) {
        this.startTimeShow = startTimeShow;
    }

    public String getExpiredTimeShow() {
        return this.expiredTimeShow;
    }

    public void setExpiredTimeShow(String expiredTimeShow) {
        this.expiredTimeShow = expiredTimeShow;
    }

    public Integer getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Integer startTime) {
        this.startTime = startTime;
        if(startTime.intValue() > 0) {
            this.startTimeShow = DateUtil.getFormatDate(startTime);
        }

    }

    public Integer getExpiredTime() {
        return this.expiredTime;
    }

    public void setExpiredTime(Integer expiredTime) {
        this.expiredTime = expiredTime;
        if(expiredTime.intValue() > 0) {
            this.expiredTimeShow = DateUtil.getFormatDate(expiredTime);
        }

    }

    public Integer getRankNumber() {
        return this.rankNumber;
    }

    public void setRankNumber(Integer rankNumber) {
        this.rankNumber = rankNumber;
    }

    public Integer getLastModifyTime() {
        return this.lastModifyTime;
    }

    public void setLastModifyTime(Integer lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public Integer getState() {
        return this.state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getSoftName() {
        return this.softName;
    }

    public void setSoftName(String softName) {
        this.softName = softName;
    }
}
